<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>double</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : October 99</div>
    <p>
      <b>double</b> -  conversion from integer to double precision  representation</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>y=double(X)  </tt>
      </dd>
      <dd>
        <tt>y=int16(X)  </tt>
      </dd>
      <dd>
        <tt>y=int32(X)  </tt>
      </dd>
      <dd>
        <tt>y=uint8(X)  </tt>
      </dd>
      <dd>
        <tt>y=uint16(X)  </tt>
      </dd>
      <dd>
        <tt>y=uint32(X)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>X</b>
        </tt>: matrix of floats or integers</li>
      <li>
        <tt>
          <b>y</b>
        </tt>: matrix of floats</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    converts  data stored using  one, two or four bytes integers into
    double precision floating point representation. If <tt>
        <b>X</b>
      </tt> entries are already 
    double precision floats, nothing is done.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

x=int8([0 12 140])
double(x)
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="int8.htm">
        <tt>
          <b>int8</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../programming/inttype.htm">
        <tt>
          <b>inttype</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="../programming/type.htm">
        <tt>
          <b>type</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
